package com.entity;

import com.baseEnum.SexType;

import java.io.Serializable;

/**
 * @Author zhangfoshou
 * @Since 2016/1/6
 */
public class Teacher implements Serializable {
    private Integer id;
    private String name;//姓名
    private SexType sex;//性别
    private String TeacherNo;//教师编号
    private Integer MajorCount;//必修课数量
    private Integer SelectiveCount;//选修课数量

    public Teacher() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public SexType getSex() {
        return sex;
    }

    public void setSex(SexType sex) {
        this.sex = sex;
    }

    public String getTeacherNo() {
        return TeacherNo;
    }

    public void setTeacherNo(String teacherNo) {
        TeacherNo = teacherNo;
    }

    public Integer getMajorCount() {
        return MajorCount;
    }

    public void setMajorCount(Integer majorCount) {
        MajorCount = majorCount;
    }

    public Integer getSelectiveCount() {
        return SelectiveCount;
    }

    public void setSelectiveCount(Integer selectiveCount) {
        SelectiveCount = selectiveCount;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", TeacherNo='" + TeacherNo + '\'' +
                ", MajorCount=" + MajorCount +
                ", SelectiveCount=" + SelectiveCount +
                '}';
    }
}
